import request from '@/utils/request'

export function fetchNoticeList(data) {
  return request({
    url: '/recruitmentNotice/list',
    method: 'get',
    params: data
  })
}

export function delNotice(data) {
  return request({
    url: '/recruitmentNotice/dels',
    method: 'post',
    data
  })
}

export function saveNotice(data) {
  return request({
    url: '/recruitmentNotice/save',
    method: 'post',
    data
  })
}
